<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
response.sendRedirect(basePath+"admin/login.jsp");
%>

<!DOCTYPE HTML>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title></title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
  </head>
  <body style="font-size:40px;">

  		<%--<div id="gundong" style="margin-top:300px;height:50px;border:1px solid red;overflow:hidden;position:relative;">--%>
  			<%--<div style="position:absolute;z-index:1;background:#fff;top:50px;height:50px;">滚动广播一</div>--%>
  			<%--<div style="position:absolute;z-index:1;background:#fff;top:100px;height:50px;">滚动广播二</div>--%>
  			<%--<div style="position:absolute;z-index:1;background:#fff;top:150px;height:50px;">滚动广播三</div>--%>
  		<%--</div>--%>
  		<%--<script type="text/javascript">
  	  		gundong();
  			$(function(){
  				timer=setInterval(gundong,5000);
  	  		})
  			function gundong(){
  	  			var gds = $('#gundong').find('div');
  	  			//alert(gds.length);
  	  	  		var n = 1;
  	  			for(var i=0;i<gds.length;i++){
	  	  	  		var aa0 = $(gds[i]).css('top');
					var bb0 = aa0.substring(0,aa0.length-2)*1+50;
  	  	  			var time = 1500*(bb0/50);
  	  	  			console.log("time:"+time);//-150,-100,-50//-50,-50,-50
					$(gds[i]).animate({top:'-50px'},time,function(){
							var aa = $(this).css('top');
							n = n+1;
							var bb = aa.substring(0,aa.length-2)*1+50*(n);
							console.log(n+"==:"+bb);
							var clone = $(this).clone();
							clone.css('top',bb+'px');
							$(this).remove();
							$('#gundong').append(clone);
						});
  	  	  		}
  	  			//clearInterval(timer);
  			}
  		</script>--%>
  </body>
</html>
